const UserController = require('../app/controllers/user')
const Util = require('../lib/utils')
class User {
    constructor() {
        this.init()
    }
    async init () {
        while (true) {
            let res = await UserController.build()
            if (!res) {
                console.log('构建用户完成，等待3s ...')
                await Util.wait(3000)  
            }
        }
    }
}

module.exports = new User()